#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#define pai 3.14
int main() {
    int h, r, a = 0;
    float v;
    scanf("%d %d", &h, &r);
    v = pai * h * r * r;
    if (10000 / v == 0)
        printf("%d", 10000 / v);
    else
        printf("%d", a = 10000 / v + 1);
    return 0;
}